package routers

import (
	"github.com/astaxie/beego"
	"rebee/controllers"
)

func init() {
	beego.Router("/t/", &controllers.PageController{})
	beego.Router("/toupiao/", &controllers.API{}, "POST:Toupiao")
	beego.Router("/baoming/", &controllers.API{}, "POST:BaoMing")
	beego.Router("/choujiang/", &controllers.API{}, "POST:Choujiang")
	beego.Router("/CheckYZM/", &controllers.API{}, "POST:CheckYZM")
	beego.Router("/getYZM/", &controllers.API{}, "POST:GetYZM")
	beego.Router("/FindInter/", &controllers.API{}, "POST:FindInter")

	beego.Router("/", &controllers.MainController{})
	beego.Router("/c/Settings/", &controllers.MainController{}, "GET:Settings")
	beego.Router("/c/RouterSet/", &controllers.MainController{}, "GET:RouterSet")
	beego.Router("/c/ControlFunc/", &controllers.MainController{}, "GET:ControlFunc")
	beego.Router("/c/XSRF/", &controllers.MainController{}, "GET:XSRF")
	beego.Router("/c/requestHander/", &controllers.MainController{}, "GET:RequestHander")
	beego.Router("/c/SessionOne/", &controllers.MainController{}, "GET:SessionOne")
	beego.Router("/c/Filter/", &controllers.MainController{}, "GET:Filter")
	beego.Router("/c/RevURL/", &controllers.MainController{}, "GET:RevURL")
	beego.Router("/c/OutputData/", &controllers.MainController{}, "GET:OutputData")
	beego.Router("/c/AbortError/", &controllers.MainController{}, "GET:AbortError")
	beego.Router("/c/Loggers/", &controllers.MainController{}, "GET:Loggers")
	beego.Router("/v/Sum/", &controllers.MainController{}, "GET:Sum")
	beego.Router("/v/Handle/", &controllers.MainController{}, "GET:Handle")
	beego.Router("/v/TplFunc/", &controllers.MainController{}, "GET:TplFunc")
	beego.Router("/m/Sum/", &controllers.MainController{}, "GET:Summ")
	beego.Router("/m/Prepare/", &controllers.MainController{}, "GET:Prepare")
	beego.Router("/m/Crud/", &controllers.MainController{}, "GET:Crud")
	beego.Router("/m/ComplicateSql/", &controllers.MainController{}, "GET:ComplicateSql")
	beego.Router("/cube/Indisession/", &controllers.MainController{}, "GET:Indisession")
	beego.Router("/tips/Translate/", &controllers.Tips{}, "GET:Translate")
}
